package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户操作日志对象 service_log
 * 
 * @author ZDL
 * @date 2025-02-06
 */
public class ServiceLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 操作日志主键ID */
    private Long logId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long logUserid;

    /** 操作日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date logDate;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date logTime;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String logType;

    /** 原因（说明） */
    @Excel(name = "原因", readConverterExp = "说=明")
    private String logReasonexplanation;

    /** 操作人 */
    @Excel(name = "操作人")
    private String logUserBy;

    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    public void setLogUserid(Long logUserid) 
    {
        this.logUserid = logUserid;
    }

    public Long getLogUserid() 
    {
        return logUserid;
    }
    public void setLogDate(Date logDate) 
    {
        this.logDate = logDate;
    }

    public Date getLogDate() 
    {
        return logDate;
    }
    public void setLogTime(Date logTime) 
    {
        this.logTime = logTime;
    }

    public Date getLogTime() 
    {
        return logTime;
    }
    public void setLogType(String logType) 
    {
        this.logType = logType;
    }

    public String getLogType() 
    {
        return logType;
    }
    public void setLogReasonexplanation(String logReasonexplanation) 
    {
        this.logReasonexplanation = logReasonexplanation;
    }

    public String getLogReasonexplanation() 
    {
        return logReasonexplanation;
    }
    public void setLogUserBy(String logUserBy) 
    {
        this.logUserBy = logUserBy;
    }

    public String getLogUserBy() 
    {
        return logUserBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("logUserid", getLogUserid())
            .append("logDate", getLogDate())
            .append("logTime", getLogTime())
            .append("logType", getLogType())
            .append("logReasonexplanation", getLogReasonexplanation())
            .append("logUserBy", getLogUserBy())
            .toString();
    }
}
